#pragma once

#include <iostream>
#include <fstream>
#include <string>
#include <vector>

using namespace std;

class statistics
{
private:
	struct data
	{
		long long sum;
		int n;
		data()
		{
			sum = 0;
			n = 0;
		}
	};
	vector<data> v;

	void readfile(string filename)
	{
		ifstream in(filename);
	}

public:

	statistics()
	{
	}

	~statistics()
	{
	}

	void clear()
	{
		v.clear();
	}

	int calculate_mean()
	{

	}

	int percentile(int procent)
	{

	}
};

